package com.service.impl;

import com.bean.Role;
import com.dao.RoleDao;
import com.dao.impl.RoleDaoImpl;
import com.service.RoleService;

import java.util.List;

public class RoleServiceImpl implements RoleService {
     private RoleDao roleDao = new RoleDaoImpl();
    @Override
    public List<Role> getList() {
        return roleDao.getList();
    }
}
